package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.SingIn;
import cn.wolfcode.trip.base.mapper.SingInMapper;
import cn.wolfcode.trip.base.service.ISiginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SinginServiceImpl implements ISiginService {

    @Autowired
    SingInMapper singInMapper;
    public List<SingIn> listAllSignInDate(Long id) {
        return singInMapper.selectSingDataById(id);
    }

    public void insert(SingIn singIn) {
        singInMapper.insert(singIn);
    }


}
